import urllib
from PIL import Image
import cStringIO as StringIO
from pytesser import *
def gettext(url):
	tmpfile=StringIO.StringIO(urllib.urlopen(url).read())
	r,g,b,a=Image.open(tmpfile).split()
	im=Image.merge('RGB',(r,g,b))
	print 'ds'
	print 'fds'
	strs=image_to_string(im)
	del im 
	return strs

